package com.crm.model.crm.course.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("crm_course")
public class Course implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id; //课程id
    @TableField("course_id")
    private String courseId; //课程编号

    private String subject; //课程学科

    private String name; //课程名称
    @TableField("adapt_crowd")
    private String adaptCrowd; //适应人群

    private Integer price; //课程价格

    private String description; //课程介绍
    @TableField("created_time")
    private LocalDateTime createdTime; //创建时间
    @TableField("updated_time")
    private LocalDateTime updatedTime; //修改时间
}
